package com.cos66.Impl;

import java.util.List;

import android.content.Context;
import android.widget.BaseAdapter;
import android.widget.ListView;

import com.cos66.MagazineListActivy;
import com.cos66.R;
import com.cos66.adapters.MagazineAdapter;
import com.cos66.intf.ListCallBack;

public class MagazineListShow implements ListCallBack {

	private ListView listView;
	private Context context;

	public MagazineListShow(Context context, ListView listView) {
		this.listView = listView;
		this.context = context;
	}

	public void ListShow(List data) {
		// TODO Auto-generated method stub
		MagazineAdapter adapter = new MagazineAdapter(context, data,
				R.layout.magazine_item);
		listView.setAdapter(adapter);
	}

}
